﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NetSheetDialog.aspx.cs"
    Inherits="LenderClearingHouse.NetSheetDialog" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
        }
        .style3
        {
        }
        .style4
        {
        }
        .style5
        {
        }
    </style>
    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }

        function CloseAndRefresh(netProfit, buyerPurchasePrice, buyerPurchasePriceValue, rehabCosts, rehabCostsValue, purchasePrice, purchasePriceValue) {
            var oWnd = GetRadWindow();
            if (oWnd.BrowserWindow.SetNetProfit) {
                oWnd.BrowserWindow.SetNetProfit(netProfit, buyerPurchasePrice, buyerPurchasePriceValue, rehabCosts, rehabCostsValue, purchasePrice, purchasePriceValue);
            }
            oWnd.close();
        }

        function CancelAndClose() {
            GetRadWindow().close();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnCalculate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" UpdatePanelHeight="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div style="width:750px">
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="100%" Width="100%">
      <table style="width: 100%; font-family: Arial, Helvetica, sans-serif; font-size: 10px;">
        <tr>
          <td colspan="3" style="background-color: #C0C0C0; font-weight: bold; text-align: center;">
            Lender’s Clearing House Las Vegas
          </td>
        </tr>
        <tr>
          <td style="width:245">
            <table style="width:100%">
              <tr>
                <td align="right" style="font-weight: bold; width: 80px;">
                    Property&nbsp;Address: 
                </td>
                <td>
                    <telerik:RadTextBox ID="edPropertyLocation" Runat="server" Width="100%" BackColor="Orange" ReadOnly="True">
                    </telerik:RadTextBox>
                </td>
              </tr>
              <tr>
                <td align="right">
                    Buyer's&nbsp;Name:
                </td>
                <td>
                    <telerik:RadTextBox ID="edInvestorName" Runat="server" Width="100%" BackColor="Orange" ReadOnly="True">
                    </telerik:RadTextBox>
                </td>
              </tr>
              <tr>
                <td align="right">
                    Selling&nbsp;Price:
                </td>
                <td>
                    <telerik:RadNumericTextBox ID="tbSellingPrice" runat="server" Culture="en-US" 
                            AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                            LabelWidth="64px" Type="Currency" Value="0" Width="100%" BackColor="Yellow">
                    </telerik:RadNumericTextBox>
                </td>
              </tr>
              <tr>
                <td align="right">
                    Mortgage&nbsp;Type:
                </td>
                <td>
                  <telerik:RadComboBox ID="cbMortgageType" runat="server" Width="100%" BackColor="Yellow">
                    <Items>
                      <telerik:RadComboBoxItem Text="FHA" Value="FHA" />
                      <telerik:RadComboBoxItem Text="VA" Value="VA" />
                      <telerik:RadComboBoxItem Text="Conventional" Value="Conventional" />
                      <telerik:RadComboBoxItem Text="Cash" Value="Cash" />
                    </Items>
                  </telerik:RadComboBox>
                  <asp:Label runat="server" ID="lblMortgageType" Visible="false"></asp:Label>
                </td>
              </tr>
              <tr>
                <td align="right">
                    Down&nbsp;Payment:
                </td>
                <td>
                    <telerik:RadNumericTextBox ID="tbDownPayment" runat="server" Culture="en-US"
                            LabelWidth="64px" Type="Currency" Value="0" Width="100%" BackColor="Yellow">
                    </telerik:RadNumericTextBox>
                </td>
              </tr>
              <tr>
                <td align="right">
                    Est&nbsp;closing&nbsp;date:
                </td>
                <td>
                    <telerik:RadTextBox ID="tbEstClosingDate" Runat="server" Width="100%" BackColor="Yellow">
                    </telerik:RadTextBox>
                </td>
              </tr>
            </table>
          </td>
          <td style="width:5px"></td>
          <td style="width:500px; vertical-align:top;">
            <table style="width:100%;">
              <tr>
                <td style="width:30px">
                    #&nbsp;Bedrooms/Baths
                </td>
                <td style="width:220px">
                    <telerik:RadTextBox ID="edBedrooms" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True">
                    </telerik:RadTextBox>
                </td>
                <td style="width:30px">
                  Occupancy
                </td>
                <td style="width:220px">
                  <telerik:RadComboBox ID="ddlOccupancy" runat="server" Width="100%" BackColor="Yellow">
                    <Items>
                      <telerik:RadComboBoxItem Text="Vacant" Value="Vacant" />
                      <telerik:RadComboBoxItem Text="Occupied" Value="Occupied"/>
                    </Items>
                  </telerik:RadComboBox>
                </td>
               </tr>
              <tr>
                <td>
                    Year&nbsp;Built
                </td>
                <td>
                  <telerik:RadTextBox ID="edConstructYear" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True">
                  </telerik:RadTextBox>
                </td>
                <td colspan="2"></td>
              </tr>
              <tr>
                <td>
                  Square&nbsp;feet
                </td>
                <td>
                    <telerik:RadTextBox ID="edTotalSqft" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True"> 
                    </telerik:RadTextBox>
                </td>
                <td colspan="2"></td>
              </tr>
              <tr>
                <td>
                  Acquisition&nbsp;Date:                
                </td>
                <td>
                    <telerik:RadTextBox ID="tbAcquisitionDate" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True"> 
                    </telerik:RadTextBox>
                </td>
                <td colspan="2"></td>
              </tr>
              <tr>
                <td>
                  Garage
                </td>
                <td>
                  <telerik:RadTextBox ID="edGarageSqft" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True">
                  </telerik:RadTextBox>
                </td>
                <td colspan="2"></td>
              </tr>
              <tr>
                <td>
                  Pool
                 </td>
                 <td>
                    <telerik:RadTextBox ID="edPool" Runat="server" BackColor="Orange" Width="100%" ReadOnly="True">
                    </telerik:RadTextBox>
                 </td>
                 <td colspan="2"></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <br />
              
        <table style="width: 100%; font-family: Arial, Helvetica, sans-serif; font-size: 10px;">
          <tr>
            <td colspan="7" style="font-weight: bold; background-color: #C0C0C0; text-align: center;">
              NET SHEET
            </td>
          </tr>
          <tr>
            <td width="150px" align="center">
              Purchase Detail
            </td>
            <td width="30px" align="center">
              %
            </td>
            <td width="50px" style="font-weight: bold;" align="center">
              Estimated
            </td>
            <td width="50px" style="font-weight: bold;" align="center">
              Actual
            </td>
            <td width="50px" style="font-weight: bold;" align="center">
              With Loan
            </td>
          </tr>
          <tr>
            <td style="background-color: #C0C0C0">
              <strong>ACQUISITION COST</strong>
            </td>
            <td colspan="6"></td>
          </tr>
          <tr>
          <td>
            Purchase Price
          </td>
          <td>
            &nbsp;
          </td>
          <td>
            <telerik:RadNumericTextBox ID="tbPurchasePriceEstimated" runat="server" BackColor="Yellow"
              Width="100px" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" 
              Culture="en-US" ReadOnly="False" LabelWidth="64px" Type="Currency" Value="0">
            </telerik:RadNumericTextBox>
          </td>
          <td class="style1">
            <asp:CheckBox ID="chbManualPurchasePriceActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            <telerik:RadNumericTextBox ID="tbPurchasePriceActual" runat="server" AutoPostBack="True"
              OnTextChanged="tb1stDOT_TextChanged" Width="75px" Culture="en-US" 
              ReadOnly="True" LabelWidth="64px" Type="Currency" Value="0">
            </telerik:RadNumericTextBox>
          </td>
          <td>
            <asp:CheckBox ID="chbManualPurchasePriceLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            <telerik:RadNumericTextBox ID="tbPurchasePriceLoan" runat="server" AutoPostBack="True"
              OnTextChanged="tb1stDOT_TextChanged" Width="75px" Culture="en-US" 
              ReadOnly="True" LabelWidth="64px" Type="Currency" Value="0">
            </telerik:RadNumericTextBox>
           </td>
           <td colspan="2">
            &nbsp;
           </td>
         </tr>
          <tr>
            <td class="style2">
              Non- Profit Fee
            </td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbNonProfitFeePercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="3" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualNonProfitFeeEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbNonProfitFeeEstimated" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" BackColor="#99CC33" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualNonProfitFeeActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbNonProfitFeeActual" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualNonProfitFeeLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbNonProfitFeeLoan" runat="server" Type="Currency" AutoPostBack="True" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2">
              Closing Costs - Front End
            </td>
            <td class="style3">
                <telerik:RadNumericTextBox ID="tbClosingCostsPercent" runat="server" 
                    AutoPostBack="True" Culture="en-US" LabelWidth="64px" BackColor="#99CC33"
                    OnTextChanged="tb1stDOT_TextChanged" Type="Percent" Value="1.5" Width="100px">
                    <NumberFormat PositivePattern="n %" ZeroPattern="n %" />
                </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualClosingCostsEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbClosingCostsEstimated" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" BackColor="#99CC33" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualClosingCostsActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbClosingCostsActual" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualClosingCostsLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbClosingCostsLoan" runat="server" Type="Currency" AutoPostBack="True" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              TOTAL
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualAcquisitionEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbAcquisitionEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualAcquisitionActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbAcquisitionActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualAcquisitionLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbAcquisitionLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td style="background-color: #C0C0C0">
              <strong>PREPARATION COST</strong>
            </td>
            <td colspan="6">&nbsp;</td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Rehab Cost
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbRehabCostEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="5000" Width="100px" BackColor="Yellow">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbRehabCostActual" runat="server" Type="Currency" Culture="en-US" Value="5000" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="Yellow">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbRehabCostLoan" runat="server" Type="Currency" Culture="en-US" Value="5000" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="Yellow">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2" style="text-align:left;">
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Lock Change &amp; Secure Property
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbLockEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="65" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbLockActual" runat="server" Type="Currency" Culture="en-US" Value="65" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbLockLoan" runat="server" Type="Currency" Culture="en-US" Value="65" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Reserve for Utilites
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbReserveEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="400" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbReserveActual" runat="server" Type="Currency" Culture="en-US" Value="400" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbReserveLoan" runat="server" Type="Currency" Culture="en-US" Value="400" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Insurance
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbInsuranceEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="300" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbInsuranceActual" runat="server" Type="Currency" Culture="en-US" Value="300" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbInsuranceLoan" runat="server" Type="Currency" Culture="en-US" Value="300" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Cash for Keys/ Eviction
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbCashEstimated" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbCashActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbCashLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Miscellaenous
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbMiscEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="150" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbMiscActual" runat="server" Type="Currency" Culture="en-US" Value="150" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbMiscLoan" runat="server" Type="Currency" Culture="en-US" Value="150" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              TOTAL
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualPreparationEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbPreparationEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualPreparationActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbPreparationActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualPreparationLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbPreparationLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>TOTAL PRE-SALE COSTS</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualTotalPresaleEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalPresaleEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualTotalPresaleActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalPresaleActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualTotalPresaleLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalPresaleLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td style="background-color: #C0C0C0">
              <strong>CLOSING COST</strong>
            </td>
            <td colspan="6">&nbsp;</td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Selling Price
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualSellingPriceEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbSellingPriceEstimated" runat="server" AutoPostBack="True"
                 Type="Currency" Culture="en-US" ReadOnly="True" OnTextChanged="tb1stDOT_TextChanged" Width="75px" Value="149900">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualSellingPriceActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbSellingPriceActual" runat="server" AutoPostBack="True"
                 Type="Currency" Culture="en-US" ReadOnly="True" OnTextChanged="tb1stDOT_TextChanged" Width="75px" Value="149900">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualSellingPriceLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbSellingPriceLoan" runat="server" AutoPostBack="True"
                 Type="Currency" Culture="en-US" ReadOnly="True" OnTextChanged="tb1stDOT_TextChanged" Width="75px" Value="149900">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2">
              Broker Coop
            </td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbBrokerPercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="6" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualBrokerEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbBrokerEstimated" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" BackColor="#99CC33" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualBrokerActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbBrokerActual" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualBrokerLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbBrokerLoan" runat="server" Type="Currency" AutoPostBack="True" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2">
              Seller Closing Incentives
            </td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbSellerPercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="3" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualSellerClosingEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbSellerClosingEstimated" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" BackColor="#99CC33" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualSellerClosingActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbSellerClosingActual" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualSellerClosingLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbSellerClosingLoan" runat="server" Type="Currency" AutoPostBack="True" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2">
              Escrow Closing Estimate
            </td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbEscrowPercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="1" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualEscrowEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbEscrowEstimated" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" BackColor="#99CC33" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualEscrowActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbEscrowActual" runat="server" Type="Currency" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualEscrowLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />  
              <telerik:RadNumericTextBox ID="tbEscrowLoan" runat="server" Type="Currency" AutoPostBack="True" Culture="en-US" style="padding-left:0 !important; padding-right:0 !important"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Sellers Cost of Repairs
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbSellersCostEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="0" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbSellersCostActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbSellersCostLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Home Warranty
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbHomeEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="280" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbHomeActual" runat="server" Type="Currency" Culture="en-US" Value="280" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbHomeLoan" runat="server" Type="Currency" Culture="en-US" Value="280" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Appraisal
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbAppraisalEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="0" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbAppraisalActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbAppraisalLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Miscellaneous Closing Costs
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbMiscClosingEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="300" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbMiscClosingActual" runat="server" Type="Currency" Culture="en-US" Value="300" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbMiscClosingLoan" runat="server" Type="Currency" Culture="en-US" Value="300" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              HOA Dues
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbHoaEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="0" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbHoaActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbHoaLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Transaction Fee
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbTransactionEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="0" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbTransactionActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbTransactionLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: left">
              Other
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbOtherEstimated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="0" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbOtherActual" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbOtherLoan" runat="server" Type="Currency" Culture="en-US" Value="0" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" Width="100px" BackColor="#99CC33">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>TOTAL CLOSING COSTS</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualTotalClosingCostsEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalClosingCostsEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualTotalClosingCostsActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalClosingCostsActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualTotalClosingCostsLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalClosingCostsLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td style="background-color: #C0C0C0" colspan="3">
              <strong>LOAN COST</strong>
            </td>
            <td style="text-align:right;">
                <asp:CheckBox ID="chbManualPurchasePlusRehab" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            </td>
            <td class="style1">
              <telerik:RadNumericTextBox ID="tbPurchasePlusRehab" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="100px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2"><asp:Label ID="lblPurchasePlusRehab" runat="server" Text="Note (Purchase + Rehab)"></asp:Label></td>
          </tr>
          <tr>
            <td>
              <asp:CheckBox ID="chbWithLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbWithLoan_CheckedChanged" Text="With Loan" />  
            </td>
            <td colspan="3">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tb1stDOT" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Value="63700" Width="100px" BackColor="Yellow">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2"><asp:Label ID="lbl1stDOT" runat="server" Text="1st DOT"></asp:Label></td>
          </tr>
          <tbody runat="server" id="tbodyLoan">
          <tr>
            <td colspan="3">
              &nbsp;
            </td>
            <td style="text-align:right;">
                <asp:CheckBox ID="chbManual2ndDOT" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tb2ndDOT" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" ReadOnly="True" Width="100px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">2nd DOT</td>
          </tr>
          <tr>
            <td colspan="4">
              &nbsp;
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbLoanBrokerFee" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" Width="100px" BackColor="#99CC33" Value="300">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">Loan Broker Fee</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbLoanFeePercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="3" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td>
              &nbsp;
            </td>
            <td style="text-align:right;">
                <asp:CheckBox ID="chbManualLoanFee" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbLoanFeeCalculated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" ReadOnly="True" Width="100px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">Loan Fee</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbLoanInterestPercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="2" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td>
              &nbsp;
            </td>
            <td style="text-align:right;">
                <asp:CheckBox ID="chbManualLoanInterest" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            </td>
            <td class="style4">
              <telerik:RadNumericTextBox ID="tbLoanInterestCalculated" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Type="Currency" Culture="en-US" ReadOnly="True" Width="100px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">Loan Interest (2mo)</td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>TOTAL LOAN COST</strong>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
            <td style="text-align:right;">
                <asp:CheckBox ID="chbManualLoanTotal" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
            </td>
            <td>
              <telerik:RadNumericTextBox ID="tbLoanTotal" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="100px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          </tbody>

          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>NET PROFIT</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualNetProfitEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbNetProfitEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualNetProfitActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbNetProfitActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualNetProfitLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbNetProfitLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>Fee to LCH Las Vegas</strong>
            </td>
            <td class="style3">
              <telerik:RadNumericTextBox ID="tbProfitParticipationPercent" AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged"
                runat="server" Culture="en-US" LabelWidth="64px" Type="Percent" Value="20" BackColor="#99CC33"
                Width="100px">
                <NumberFormat ZeroPattern="n%"></NumberFormat>
              </telerik:RadNumericTextBox>
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualProfitParticipationEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbProfitParticipationEstimated" runat="server" Type="Currency" Culture="en-US" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
                <asp:CheckBox ID="chbManualProfitParticipationActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbProfitParticipationActual" runat="server" Type="Currency" Culture="en-US" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
            <asp:CheckBox ID="chbManualProfitParticipationLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbProfitParticipationLoan" runat="server" Type="Currency" Culture="en-US" AutoPostBack="True"
                OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>TOTAL EQUITY</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualEquityEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbEquityEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualEquityActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbEquityActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualEquityLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbEquityLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>TOTAL NET NET PROFIT</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualTotalNetProfitEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetProfitEstimated" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualTotalNetProfitActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetProfitActual" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualTotalNetProfitLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetProfitLoan" runat="server" Type="Currency" Culture="en-US"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td class="style2" style="text-align: right">
              <strong>Cash on cash return %</strong>
            </td>
            <td class="style3">
              &nbsp;
            </td>
            <td class="style4">
              <asp:CheckBox ID="chbManualTotalNetPercentEstimated" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetPercentEstimated" runat="server" Type="Percent"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
                <NumberFormat ZeroPattern="n%" />
              </telerik:RadNumericTextBox>
            </td>
            <td class="style1">
              <asp:CheckBox ID="chbManualTotalNetPercentActual" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetPercentActual" runat="server" Type="Percent"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
                <NumberFormat ZeroPattern="n%" />
              </telerik:RadNumericTextBox>
            </td>
            <td>
              <asp:CheckBox ID="chbManualTotalNetPercentLoan" runat="server" Checked="false" AutoPostBack="true" OnCheckedChanged="chbClosingCost_CheckedChanged" Text="" />
              <telerik:RadNumericTextBox ID="tbTotalNetPercentLoan" runat="server" Type="Percent"
                AutoPostBack="True" OnTextChanged="tb1stDOT_TextChanged" ReadOnly="True" 
                Width="75px">
                <NumberFormat ZeroPattern="n%" />
              </telerik:RadNumericTextBox>
            </td>
            <td colspan="2">
              &nbsp;
            </td>
          </tr>
          <tr>
            <td colspan="7">
              &nbsp;
            </td>
          </tr>
          <tr runat="server" id="trCommentsHeader">
            <td style="background-color: #C0C0C0; font-weight: bold;">
              COMMENTS
            </td>
            <td colspan="6">
              &nbsp;
            </td>
          </tr>
          <tr runat="server" id="trComments">
            <td colspan="7">
              <textarea runat="server" ID="TextArea1" cols="20" name="S1" rows="2" style="width: 100%"></textarea>
            </td>
          </tr>
        </table>
        
        <table runat="server" id="btnTable">
            <tr>
                <td align="center">
                    <asp:HyperLink runat="server" ID="lnkPrint" Target="_blank">Print</asp:HyperLink>
                    <asp:HyperLink runat="server" ID="lnkDownload" Target="_blank">Download</asp:HyperLink>
                    <asp:HyperLink runat="server" ID="lnkPrintOld" Target="_blank" Visible="false">Print</asp:HyperLink>
                    <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />&nbsp;
                    <asp:Button ID="btnClose" runat="server" Text="Cancel" OnClientClick="CancelAndClose();" />
                </td>
            </tr>
        </table>
        </telerik:RadAjaxPanel>
    </div>

    </form>
</body>
</html>
